package cn.cvs.utils;

public class Single {
    private static Single single;

    public Single() {
    }


    //静态内部类
    public static class SingleHelper{

        private static final Single INSTANCE=new Single();
    }

    public static Single getInstance(){
        single=SingleHelper.INSTANCE;
        return single;
    }

    public static Single test(){
        return single;
    }
}
